//
//  PersonSign.m
//  timelyRain
//
//  Created by Jiafei Wei on 2016/12/23.
//  Copyright © 2016年 Jiafei Wei. All rights reserved.
//

#import "PersonSign.h"

@interface PersonSign ()
@property (weak, nonatomic) IBOutlet UITextField *sign;

@end

@implementation PersonSign

- (void)viewDidLoad {
    [super viewDidLoad];
    [super setTitleView:self.view withName:@"签名"];
    _sign.text=_signValue;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
-(void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:YES];
    NSNotification * notice = [NSNotification notificationWithName:@"setting_data" object:nil userInfo:@{@"type":@"sign",@"data":_sign.text}];
    [[NSNotificationCenter defaultCenter]postNotification:notice];
}
@end
